package com.kwq.designPattern.construct.director;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author kangwanqiang
 * @date 2021/2/7
 * @description 电动车，实现Car接口
 */
@Data
@AllArgsConstructor
public class EVCar implements Car {
    String name;

    @Override
    public void drive() {
        System.out.println("电动车跑：嗡嗡嗡...");
    }
}
